package kassiopeia.agent.alerting;

public enum AlertType {

    INTERNAL_ERROR("Kassiopeia Internal Error"),
    AGENT_STARTED("Kassiopeia Agent Started", false),
    SEDA_ERROR("Kassiopeia SEDA Error", false),
    STAGE_POOL_EXHAUSTED("Stage Pool Exhausted"),
    PLUGIN_ALERT("Alert From Plugin", false),
    PLUGIN_ERROR("Plugin Error Occurred");

    private final String subject;
    private final boolean high;

    AlertType(String subject, boolean hi) {
        this.subject = subject;
        this.high = hi;
    }

    AlertType(String subject) {
        this(subject, true);
    }

    public String getSubject() {
        return subject;
    }

    public boolean isHigh() {
        return high;
    }
}
